		.global Push
		.ent Push
Push:	# begin stack frame creation
		subu $sp, $sp, 8
		sw $fp, 4($sp)
		sw $gp, 0($sp)
		move $fp, $sp
		sw $4, 8($fp)	#*topePila
		sw $5, 12($fp)	#tamanioPila
		sw $6, 16($fp)	#*cantidadElementos
		# end stack frame creation
# Do	
		lw $8, 0($6)
		sub $10, $5, $8
		blez $10, failure
		move $11, $8
		sll $11, $11, 3
		add $9, $4, $11
		l.d $f4, 24($fp)
		s.d $f4, 0($9)
		addi $8, $8, 1
		sw $8, 0($6)

		# return 
success:	addi $2, $0, 1
		b exit
failure:	addi $2, $0, 0

exit:		# start destroying stack frame
		lw $fp, 4($sp)
		lw $gp, 0($sp)
		addi $sp, $sp, 8
		# completely detroyed stack frame

		j $31
		.end Push
